package com.t194.service;

import com.t194.pojo.User;
import com.t194.vo.PageResult;
import com.t194.vo.UserDto;

import java.util.List;

public interface UserService {

    void grant(Integer userId,Integer roleId);

    List<User> searchAll();

    PageResult searchPagination(Integer offset, Integer limit, UserDto dto);


    User login(String userCode);
}
